﻿namespace Traceability.App.Api.DTO
{
    public class TraceabilityDTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName {  get; set; }    
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ExpirationDate { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string ProduceCode { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturers { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Information_Completeness { get; set; }
        public DateTime? CreateTime { get; set; }
        public DateTime? UpdateTime { get; set; }
        public string? CreateName {  get; set; }

        public string? UpdateName {  get; set; }
    }
}
